package com.yijianonghu.controller.app.general;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.yijianonghu.util.Constants.AppConstants;
import com.yijianonghu.util.result.Result;

@Controller
@RequestMapping(method=RequestMethod.POST)
public class NewUserGuideController {

	/**
	 * [sys_web_service]guide_list
	 * 
	 * @param page  当前列表翻页索引,	第一页时请传递page=0，翻页时依次递增。
	 * @return
	 * Result.infor字段说明:<br/>
	 * id		主键id	<br/>
	 * name		文字标题	<br/>
	 * imgurl	封面图片	<br/>
	 * imgItems	不清楚	<br/>
	 * 形如:<br/>
	 * { "success":true, "msg":"操作成功！", "infor":{ "totalCount":"6", "listItems":[ { "id":"8", "name":"易家农户简介", "imgurl":"http:\/\/124.128.23.74:8008\/group8\/hm_yjnh\/uploadfiles\/2016\/11\/201611041344312825_thumb.jpg", "imgItems":"" }, { "id":"9", "name":"神奇的粮票", "imgurl":"http:\/\/124.128.23.74:8008\/group8\/hm_yjnh\/uploadfiles\/2016\/11\/201611041346128996_thumb.jpg", "imgItems":"" }, { "id":"10", "name":"如何获取粮票", "imgurl":"http:\/\/124.128.23.74:8008\/group8\/hm_yjnh\/uploadfiles\/2016\/11\/201611041348332772_thumb.jpg", "imgItems":"" }, { "id":"11", "name":"轻松购物流程", "imgurl":"http:\/\/124.128.23.74:8008\/group8\/hm_yjnh\/uploadfiles\/2016\/11\/201611041350137765_thumb.jpg", "imgItems":"" }, { "id":"12", "name":"退货流程", "imgurl":"http:\/\/124.128.23.74:8008\/group8\/hm_yjnh\/uploadfiles\/2016\/11\/201611041351492956_thumb.jpg", "imgItems":"" }, { "id":"13", "name":"用户规则及7天退货说明", "imgurl":"http:\/\/124.128.23.74:8008\/group8\/hm_yjnh\/uploadfiles\/2016\/11\/201611041357014518_thumb.jpg", "imgItems":"" } ] } }
	 */
	@RequestMapping(value=AppConstants.APP_PREFIX+AppConstants.APP_GENERAL_VERSION_REGX+"/guide_list")
	public @ResponseBody Result listGuide(Integer page){
		//TODO 返回值中的infor中的imgItems不清楚。
		return null;
	}
}
